package so.sao.code.service.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import so.sao.code.dto.request.EnterpriseSetting;
import so.sao.code.service.domain.entity.EnterpriseOperationLog;
import so.sao.code.service.domain.entity.TagBatchDownloadLog;
import so.sao.code.service.infrastructure.model.vo.EnterpriseInfoVO;
import so.sao.code.service.infrastructure.model.vo.TagBatchDownloadLogVO;

/**
 * Created by Administrator on 2017/10/19.
 */
public interface EnterpriseInfoService {
	void addUrl(String url, Long eseId);

	EnterpriseInfoVO get(Long eseId);

	List<EnterpriseInfoVO> list();

	void enterpriseCodeSetting(EnterpriseSetting setting) throws Exception;

	void advSetting(Long eseId, boolean seqType, boolean advEncrypt);

	List<EnterpriseOperationLog> getActionLog(int page, int size);

	void initData();

	void delUrl(String url, Long eseId);

	Page<TagBatchDownloadLogVO> getDownloadLogs(Specification<TagBatchDownloadLog> spec, Pageable pageable);

}
